package com.zx.jhpt.po;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * FxDept entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="FXDEPT"
)

public class FxDept  implements java.io.Serializable {


    // Fields    

     private FxDeptId id;


    // Constructors

    /** default constructor */
    public FxDept() {
    }

    
    /** full constructor */
    public FxDept(FxDeptId id) {
        this.id = id;
    }

   
    // Property accessors
    @EmbeddedId
    
    @AttributeOverrides( {
        @AttributeOverride(name="dept", column=@Column(name="DEPT", nullable=false, length=64) ), 
        @AttributeOverride(name="fxid", column=@Column(name="FXID", nullable=false, length=64) ) } )

    public FxDeptId getId() {
        return this.id;
    }
    
    public void setId(FxDeptId id) {
        this.id = id;
    }
   








}